<!--
 * @Author: shuai
 * @Date: 2021-03-31 13:44:43
 * @LastEditors: shuai
 * @LastEditTime: 2021-04-02 10:20:42
 * @Description: file content
-->
<template>
  <div class="dashboard-container">
    <div class="dashboard-text">name: {{ name }}</div>
    <svg-icon className="dashboardClassName" iconClass="dashboard"></svg-icon>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import { mapGetters } from 'vuex'

export default defineComponent({
  name: 'Dashboard',
  computed: {
    ...mapGetters(['name']),
  },
})
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
</style>
